﻿using System.Collections.Generic;

namespace HDSmartCommunity.Models
{
    public class CompassOwnerSync
    {
    }
    public class PersonSnycInfo
    {
        public PersonSnycData data { get; set; }
    }

    public class PersonSnycData
    {
        public List<PersonSnyc> personInfos { get; set; }

    }

    public class PersonSnycDevice
    {
        public string deviceID { get; set; }
    }
    public class PersonSnyc
    {
        public int personID { get; set; }
        public int personType { get; set; }
        public string personName { get; set; }
        public int sex { get; set; }
        public string cardNo { get; set; }
        public int stateID { get; set; }
        public string personPhoto { get; set; }
        public string frontFloor { get; set; }
        public string backFloor { get; set; }
        public string startTime { get; set; }
        public string endTime { get; set; }
    }

    public class PersonReturn
    {
        public string method { get; set; }
        public string data { get; set; }
        public int req_id { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
    }

    public class PersonDeleleInfo
    {
        public string method { get; set; }
        public List<PersonData> data { get; set; }
        public int req_id { get; set; }
    }

    public class PersonData
    {
        public int PersonID { get; set; }
    }

    public class Person
    {
        public string personID { get; set; }
    }

    public class delPersonReturn
    {
        public string method { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
        public int req_id { get; set; }
    }


    public class LiftMode
    {
        public string method { get; set; }
        public LiftModeData data { get; set; }
        public int req_id { get; set; }
    }

    public class LiftModeData
    {
        public string deviceID { get; set; }
        public int liftmode { get; set; }
    }

    public class LiftModeReturn
    {
        public string method { get; set; }
        public string data { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
        public int req_id { get; set; }
    }

    public class HeratInfo
    {
        public string deviceID { get; set; }
        public int timestamp { get; set; }
    }

    public class PersonClearInfo
    {
        public string method { get; set; }
        public PersonClearDevice data { get; set; }
        public int req_id { get; set; }
    }

    public class PersonClearDevice
    {
        public string deviceID { get; set; }
    }

    public class PushInfo
    {
        public string deviceID { get; set; }
        public string cardNO { get; set; }
    }

    public class PushInfoReturn
    {
        public int errcode { get; set; }
        public object errmsg { get; set; }
        public PushInfoDataReturn data { get; set; }
        public object adddata { get; set; }
    }

    public class PushInfoDataReturn
    {
        public int personID { get; set; }
        public int personType { get; set; }
        public string personName { get; set; }
        public int sex { get; set; }
        public int stateID { get; set; }
        public string cardNO { get; set; }
        public string personPhoto { get; set; }
        public string frontFloor { get; set; }
        public string backFloor { get; set; }
        public string startTime { get; set; }
        public string endTime { get; set; }
    }



}
